package com.duck.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;

import java.time.Duration;

@Data
@ConfigurationProperties(prefix = "hm.jwt")
public class JwtProperties {
    private String secretKey;
    private Duration tokenTTL = Duration.ofMinutes(1000000);  // token有效期
}